/*
 * StreamEndFactroy.h
 *
 *  Created on: 2011-3-30
 *      Author: hao
 */



#ifndef STREAMENDFACTROY_H_
#define STREAMENDFACTROY_H_

#include <vector>
#include "StreamEnd.h"

class StreamEndFactroy {
    std::vector< StreamTerminal * > StreamTerminalList;



public:

    StreamEndFactroy();

    ~StreamEndFactroy();


    int addStreamTerminal(const char * szPath);

    void Destroy();

    StreamTerminal * getStreamTerminal(unsigned index);

};

#endif /* STREAMENDFACTROY_H_ */
